import {legacy_createStore as createStore} from 'redux'


// 导入我们自己创建好的reducer 

import {reducer} from '../reducer'

// 构建store  （注意：需要将我们的reducer放入函数中)
const store = createStore(reducer)


export default store